﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CloudSail.Exam.InfrastructureDto.Response.ResultDto
{
    /// <summary>
    /// 接口返回值
    /// </summary>
    public enum ApiCode {
        Ok = 0,
        Fail=-1,
        other =1,
        error=500
    }
    public class ApiResult
    {
        /// <summary>
        /// 结果
        /// </summary>
        public ApiCode Code { get; set; }
        /// <summary>
        /// 消息
        /// </summary>
        public string Msg { get; set; }
        /// <summary>
        /// 数据
        /// </summary>
        public object data { get; set; }
    }
}
